package com.snowdragon.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

//不加将报错，启动不了
// Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
//
//Reason: Failed to determine a suitable driver class


@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class OjGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(OjGatewayApplication.class, args);
    }
}